package com.hanxy.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hxy.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

/**
* 系统角色实体
*
* @author dingyoukun
* @date 2021-08-26 20:36
**/
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "SysRole", description = "系统角色实体")
@TableName(value = "t_sys_role")
public class SysRole extends BaseEntity {

	/**
     * name 名称
     */
    @ApiModelProperty(value = "名称")
	private String name;

	/**
     * describes 描述
     */
    @ApiModelProperty(value = "描述")
	private String describes;

	/**
     * departmentId 部门id
     */
    @ApiModelProperty(value = "部门id")
	private Integer departmentId;

}
